package com.itmk.web.adminInfo.mapper;

import com.itmk.web.adminInfo.entity.EduInfo;
import com.itmk.web.adminInfo.entity.ForjInfo;
import com.itmk.web.ai.entity.Pdfs;
import com.itmk.web.companyInfo.entity.Company;
import com.itmk.web.companyInfo.entity.JobInfo;
import com.itmk.web.user.entity.UserLogin;
import com.itmk.web.userInfo.entity.BasicInfo;
import com.itmk.web.userInfo.entity.JobExperience;
import com.itmk.web.userInfo.entity.ProjectExperience;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdminMapper {

    List<UserLogin> getAllUser(String signType);

    BasicInfo getBasicInfo(String uuid);

    EduInfo getEduInfo(String uuid);

    ForjInfo getForJobInfo(String uuid);

    Pdfs getResumePDF(String uuid);

    List<ProjectExperience> getProExperience(String uuid);

    List<JobExperience> getJobExperience(String uuid);

    Boolean updateBasicInfo(BasicInfo basicInfo);

    Boolean deleteBasicInfo(String uuid);

    UserLogin getUser(String uuid);

    Boolean addBasicInfo(BasicInfo basic);

    Boolean updateEduInfo(EduInfo eduInfo);

    Boolean deleteEduInfo(String uuid);

    Boolean addEduInfo(EduInfo educationInfo);

    Boolean updateForJobInfo(ForjInfo forjInfo);

    Boolean deleteForJobInfo(String uuid);

    Boolean addForJobInfo(ForjInfo forjInfo1);

    String checkFile(String uuid);

    void updateResume(String fileName, String uuid);

    Boolean deleteResumePDF(String uuid);

    Boolean updateProExperience(ProjectExperience pe);

    Boolean deleteProExperience(ProjectExperience pe);

    Boolean addProExperience(ProjectExperience pe);

    Boolean updateJobExperience(JobExperience je);

    Boolean deleteJobExperience(JobExperience je);

    Boolean addJobExperience(JobExperience je);

    Company getCompanyInfo(String uuid);

    Boolean updateCompanyInfo(Company company);

    String checkPic(String uuid);

    void updatePic(String fileName, String uuid);

    List<JobInfo> getJobInfo(String uuid);

    Boolean updateJobInfo(JobInfo jobInfo);

    Boolean deleteJobInfo(JobInfo jobInfo);

    Boolean addJobInfo(JobInfo jobInfo);

    List<String> getResumeOfJob(String jobUuid);


    JobInfo getJobOneInfo(String uuid, String jobUUID);

    boolean addResumeOfJob(String jobUUID, String newResume);

//    List<String> getCommonImages();
}
